import request from '@/utils/request'

// 登录接口
export const loginApi = data => {
  return request.post('/park/login', data)
}

// 员工管理模块 - 获取用户下拉列表
// export const getUserInfoApi = () => {
//   return request.get('/system/user/dropList')
// }

/**
 * @description: 获取用户信息
 * @param {*} data {}
 * @return {*} promise
 */
export function getProfileApi() {
  return request({
    url: '/park/user/profile',
    method: 'GET'
  })
}
